package com.sdkj.dspservice.modules.report.dao;

import com.sdkj.dspservice.common.base.dao.CrudDao;
import com.sdkj.dspservice.modules.report.entity.TableConfigColumn;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 表字段配置dao
 * @author tm
 */
public interface TableConfigColumnDao extends CrudDao<TableConfigColumn> {

    /**
     * 获取不显示的ID列表
     * @param tableConfigId
     * @return
     */
    @Select("SELECT id FROM report_table_config_column WHERE table_config_id = #{tableConfigId} AND is_show = '0'")
    List<String> findIsNotShowIdList(String tableConfigId);

}